package com.example.bookshop.repository;


import com.example.bookshop.entity.Cart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CartRepository {
    public int addCart(Cart cart);//添加购物车商品
    public List<Integer> findCartByUserId(Integer id);//通过用户Id查找购物车商品
    public int deleteListCart(List<Integer> list);
}
